﻿using System.Web.Http;

namespace IceDog.DNF.Program.BookAPI
{
    public class WebApiApplication : System.Web.HttpApplication
    {
        //教程链接  https://docs.microsoft.com/en-us/aspnet/web-api/overview/web-api-routing-and-actions/create-a-rest-api-with-attribute-routing
        protected void Application_Start()
        {
            GlobalConfiguration.Configure(WebApiConfig.Register);
        }
    }
}
